# 导包
import unittest
from test_cases import test_demo1, test_demo2


# loader
loader = unittest.defaultTestLoader.loadTestsFromModule(test_demo2)

# suite
suite = unittest.TestSuite()
suite.addTest(loader)


# 执行测试用例，实例化TextTestRunner类
runner = unittest.TextTestRunner(verbosity=2)

# 使用run()
runner.run(suite)

